package com.zjitc.model;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/17 17:05
 * @description:
 */
public class User {

  private int uid;
  private String username;
  private String password;
  private String phone;
  private String email;
  private String address;
  private String role;//角色
  private String uuid;

  public User() {
  }

  public User(int uid, String username, String password, String phone, String email,
      String address, String role) {
    this.uid = uid;
    this.username = username;
    this.password = password;
    this.phone = phone;
    this.email = email;
    this.address = address;
    this.role = role;
  }

  public int getUid() {
    return uid;
  }

  public void setUid(int uid) {
    this.uid = uid;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public String getRole() {
    return role;
  }

  public void setRole(String role) {
    this.role = role;
  }

  public String getUuid() {
    return uuid;
  }

  public void setUuid(String uuid) {
    this.uuid = uuid;
  }

  @Override
  public String toString() {
    return "User{" +
        "id=" + uid +
        ", username='" + username + '\'' +
        ", password='" + password + '\'' +
        ", phone='" + phone + '\'' +
        ", email='" + email + '\'' +
        ", address='" + address + '\'' +
        ", role='" + role + '\'' +
        '}';
  }

}